AMD/IOMMU: let callers of amd_iommu_alloc_intremap_table() handle errors
authorJan Beulich <jbeulich@suse.com>
Tue, 17 Sep 2019 14:05:34 +0000 (16:05 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 17 Sep 2019 14:05:34 +0000 (16:05 +0200)
commit076c34d12a341f3915a2d8021752e0641df07496
treed9def72a1a3dd889c019460550634e35e8512887
parent34c0dcf84ff6347424808d2740398c892b8ff8e4
AMD/IOMMU: let callers of amd_iommu_alloc_intremap_table() handle errors

Additional users of the function will want to handle errors more
gracefully. Remove the BUG_ON()s and make the current caller panic()
instead.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/drivers/passthrough/amd/iommu_acpi.c
xen/drivers/passthrough/amd/iommu_intr.c